橘子动漫[漫].js 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. var rule = {
  2. title: '橘子动漫[漫]',
  3. host: "https://www.mgnacg.com",
  4. class_name: "动漫&剧场版&迷之花园&BD动漫&1月新番&4月新番&7月新番&10月新番",
  5. class_url: "1&2&3&4&6&5&29&32",
  6. //host: "https://www.jzacg.com",
  7. //class_parse: '.head-nav li;a&&Text;a&&href;/(\\d+)\.html',
  8. searchUrl: '/index.php/vod/search/page/fypage/wd/**.html',
  9. searchable: 2,
  10. quickSearch: 0,
  11. headers: {
  12. 'User-Agent': 'MOBILE_UA',
  13. },
  14. url: '/index.php/api/vod#type=fyclassfyfilter&page=fypage',
  15. filterable: 1,
  16. //filter:'H4sIAAAAAAAAA+2Y204bVxSG38XXVJoxpyR3Scj5nDTNocqFS602KoUKEyQURQJMwAbHGAImEQZyonGIzSEmyNiAHyaeg98iY++1/rVNpcqXVTWSL/z9y2vv/e9Zs2a8nwbMwKmfnwb+CI8ETgV6Q0PhS78G2gL9oT/DHluxSWen7PFwqO9JuPHD/rr8PFuLZuuyB2bgWZuSu+1MzE5vO4sbFAqeRMw8HutCqON4qFOyjOOx9iCCZ3qs6ax98JkiHQhY8Y9WpuTEY7yMwLNH9Rh57AtFImLR82etzvy7RYzsplbcZJxUAswa/WptFylGwDG78La28k5cCCP7733vw9kKEHu/XT14xTEFWNF0wU5POR+OeFFgZG+Vrc0VzlaAda1u2DEemYBjtZV5+9U6xQg41jsQ+asvNEJBJsz4/NAdLfCMCjDqRtb5OMejKsBq1t7YGzlejQKOVYv5ailBMQLZ3YL7/jm2tgHYn2jUWVrmzVHAMae05cR2KEbAsdOXSPe+YJ7Mhr3CO0IAzwejVmmJPSvAPJ8q7t40z6MAedNZJ/6J8xRg7Yc5Z2GN164AeamEtcOeCbDOmbhXXbxOBdj/zBc3hauqAHlLb6qVTc5TgNjBZ2ehbC9wiQrLFcrY6X1coQZIReSqxTIqogHisuy8P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QR2yMKYOGXh1yPhSeHXI1CFThyyijgMdI58imAPuOBxWx4Gy1XFQx0EdB3Uc1HFQx0EdBwGiQR2HMKaOA3h1HPhSeHUc1HFQxyGijgMdI58imAPuOHQcV8uBstVyUMtBLQe1HNRyUMtBLQcBokEthzCmlgN4tRz4Uni1HNRyUMshopYDHSOfIpgDbjl06n8e4Wy1HNRyUMtBLQe1HNRyUMtBgGhQyyGMqeUAXi0HvhReLQe1HNRyiKjlQMfIpwjmQFsOT/4BBwDeyV9lAAA=',
  18. filter_url: "class={{fl.class}}&area={{fl.area}}&year={{fl.year}}&lang={{fl.lang}}&by={{fl.version}}&by={{fl.resource}}&by={{fl.by}}",
  19. filter_def: "",
  20. filter_def: {},
  21. detailUrl: '/index.php/vod/detail/id/fyid.html',
  22. play_parse: true,
  23. sniffer: 1,
  24. is_video: 'obj/tos|bd.xhscdn|/ugc/',
  25. lazy: $js.toString(() => {
  26. input = {
  27. parse: 1,
  28. url: input,
  29. //js:'try{let urls=Array.from(document.querySelectorAll("iframe")).filter(x=>x.src.includes("?url="));if(urls){location.href=urls[0].src}}catch{}document.querySelector("button").click()',
  30. js: 'try{location.href=document.querySelector("#playleft iframe").src}catch{}document.querySelector("button.swal-button--confirm").click()',
  31. parse_extra: '&is_pc=1&custom_regex=' + rule.is_video,
  32. }
  33. }),
  34. limit: 6,
  35. 推荐: '.border-box.public-r .public-list-box:gt(4);a&&title;img&&data-src;.public-list-prb&&Text;a&&href',
  36. 一级: $js.toString(() => {
  37. let body = input.split("#")[1];
  38. let t = Math.round(new Date / 1e3).toString();
  39. let key = md5("DS" + t + "DCC147D11943AF75");
  40. let url = input.split("#")[0];
  41. body = body + "&time=" + t + "&key=" + key;
  42. print(body);
  43. fetch_params.body = body;
  44. let html = post(url, fetch_params);
  45. let data = JSON.parse(html);
  46. VODS = data.list.map(function (it) {
  47. it.vod_pic = urljoin2(input.split("/i")[0], it.vod_pic);
  48. return it
  49. });
  50. }),
  51. 二级: {
  52. title: '.slide-info-title&&Text;.slide-info:eq(3)--strong&&Text',
  53. img: '.lazy&&data-src',
  54. desc: '.fraction&&Text;.slide-info-remarks:eq(1)&&Text;.slide-info-remarks:eq(2)&&Text;.slide-info:eq(2)--strong&&Text;.slide-info:eq(1)--strong&&Text',
  55. content: '#height_limit&&Text',
  56. tabs: '.anthology.wow.fadeInUp.animated&&.swiper-wrapper&&a',
  57. tab_text: '.swiper-slide&&Text',
  58. lists: '.anthology-list-box:eq(#id) li',
  59. },
  60. //搜索: 'json:list;name;pic;;id',
  61. 搜索: $js.toString(() => {
  62. let html = fetch(input);
  63. let list = pdfa(html, ".public-list-box");
  64. VODS = list.map(x => {
  65. return {
  66. vod_name: pdfh(x, ".thumb-txt&&Text"),
  67. vod_pic: pdfh(x, ".lazy&&data-src"),
  68. vod_remarks: pdfh(x, ".public-list-prb&&Text"),
  69. vod_content: pdfh(x, ".thumb-blurb&&Text"),
  70. vod_id: pdfh(x, "a&&href")
  71. }
  72. });
  73. }),
  74. 图片替换: '&=>&',
  75. }